** Figure B1: Sierra Leone in Global Context, Using Varieties of Democracy Indicators (2023) **
** Ahuja and McClendon, APSR 2025 **

use "V-Dem-CY-Full+Others-v15.dta", clear

sum v2xnp_client if year==2023

sum v2xel_frefair if year==2023

*ordinal version
sum e_v2xel_frefair_5C if year==2023 

*sum e_boix_regime if year==2023 * only up through 2020

sum v2elfrfair if year==2023

twoway (scatter v2xnp_client v2xel_frefair, mcolor(black) mlabel(country_text_id)) if year==2023

twoway (scatter v2xnp_client v2xel_frefair, mcolor(black) mlabel(country_text_id) mlabsize(tiny) mlabcolor(black) legend(off)) (scatter v2xnp_client v2xel_frefair if inlist(country_name, "Sierra Leone"), mcolor(red)) if year==2023


twoway (scatter v2x_freexp_altinf v2xel_frefair, mcolor(black) mlabel(country_text_id) mlabsize(tiny) mlabcolor(black) legend(off)) (scatter v2x_freexp_altinf v2xel_frefair if inlist(country_name, "Sierra Leone"), mcolor(red)) if year==2023


**country==95, is Sierra Leone

sum v2xnp_client v2xel_frefair if (year==2023) & (country_id==95)
